package edu.lsnu.equipment_management_system.mapper.insert;

import edu.lsnu.equipment_management_system.pojo.po.entity.EquipmentUseRecordTablePo;
import org.apache.ibatis.annotations.Insert;

/**
 * @author mzy
 * @Description 使用人改变：插入一条新的记录
 * @date 2018/11/22
 */
public interface EquipmentUseRecordTableMapper {
    /**
     * @Description 插入一条新的使用记录
     * @author mzy
     * @time 2018-11-22
     * @see
     * @return   int
     * @params  []
     */
    @Insert("insert into JBXX_SBSY(SBBH, ZGH, SYRQ1, CFCSDM, YY, BZ) \n" +
            "values (#{equipmentNo}, " +
            "#{userNo}, " +
            "#{beginDate}, " +
            "#{placeNo}, " +
            "#{remark}, " +
            "#{remark}) \n")
    int insertEquipmentUseRecord(EquipmentUseRecordTablePo equipmentUseRecordTablePo);
}

